function google_ad_request_done(google_ads) {

var s = '';
var i;

if (google_ads.length == 0) {
return;
}


if (google_ads[0].type == "flash") {

   s += '<a href=\"' +
google_info.feedback_url + '\"><span class="ads_adsby">Avisos Google</span></a><br>' +
'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' +
' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="' +
google_ad.image_width + '" HEIGHT="' +
google_ad.image_height + '"> <PARAM NAME="movie" VALUE="' +
google_ad.image_url + '">' +
'<PARAM NAME="quality" VALUE="high">' +
'<PARAM NAME="AllowScriptAccess" VALUE="never">' +
'<EMBED src="' +
google_ad.image_url + '" WIDTH="' +
google_ad.image_width + '" HEIGHT="' +
google_ad.image_height +
'" TYPE="application/x-shockwave-flash"' +
' AllowScriptAccess="never" ' +
' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>';

} else if (google_ads[0].type == "image") {

   s += '<a href=\"' +
google_info.feedback_url + '\"><span class="ads_adsby">Avisos Google</span></a><br> <a href="' +
google_ads[0].url + '" target="_blank" title="go to ' +
google_ads[0].visible_url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
google_ads[0].visible_url + '\';return true"><img border="0" src="' +
google_ads[0].image_url + '"width="' +
google_ads[0].image_width + '"height="' +
google_ads[0].image_height + '"></a>';

} else if (google_ads[0].type == "html") {

s += google_ads[0].snippet;

} else {

if (google_ads.length == 1) {

   s += '<a href=\"' +
google_info.feedback_url + '\"><span class="ads_adsby">Avisos Google</span></a><br> <a href="' +
google_ads[0].url + '" target="_blank" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
google_ads[0].visible_url + '\';return true"> <span class="ads_link_1"> <b>' +
google_ads[0].line1 + '</b><br></span></a> <span class="ads_descr_1">' +
google_ads[0].line2 + '&nbsp;' +
google_ads[0].line3 + '<br></span> <a href="' +
google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
google_ads[0].visible_url + '\';return true"><span class="ads_url_1">' +
google_ads[0].visible_url + '</span></a><br>';

} else if (google_ads.length > 1) {

   s += '<a href=\"' + google_info.feedback_url + '\"><span class="ads_adsby">Avisos Google</span></a><br>'



for(i = 0; i < google_ads.length; ++i) {

s += '<br><a href="' +
google_ads[i].url + '" target="_blank" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
google_ads[i].visible_url + '\';return true"> <span class="ads_link">' +
/*google_ads[i].line1 + '</span></a><br> <span class="ads_descr">' +
google_ads[i].line2 + '&nbsp;' +
google_ads[i].line3 + '</span><br> <a href="' +
google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
google_ads[i].visible_url + '\';return true"><span class="ads_url">' +
google_ads[i].visible_url + '</span></a><br>';*/
google_ads[i].line1 + '</span></a><br /> <a href="' +
google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
google_ads[i].visible_url + '\';return true"><span class="ads_url">' +
google_ads[i].visible_url + '</span></a> - <span class="ads_descr">' +
google_ads[i].line2 + '&nbsp;' +
google_ads[i].line3 + '</span><br />';


}
}
    }

    document.write(s);
    return;
  }
  
  
var persistclose=1 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 15 //set x offset of bar in pixels
var startY = 15 //set y offset of bar in pixels
var verticalpos="frombottom" //enter "fromtop" or "frombottom"

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function closebar(){
if (persistclose)
document.cookie="remainclosed=1"
document.getElementById("registerbarFloat").style.visibility="hidden"
}

function staticbar(){
barheight=document.getElementById("registerbarFloat").offsetHeight
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var d = document;
function ml(id){
var el=d.getElementById(id);
if (!persistclose || persistclose && get_cookie("remainclosed")=="")
el.style.visibility="visible"
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.right=x+"px";this.style.top=y+"px";};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function(){
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("registerbarFloat");
stayTopLeft();
}

if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar